how to find domain and range of a function